package com.zhouyou.http.demo.slice;

import com.zhouyou.http.demo.ResourceTable;
import ohos.aafwk.ability.AbilitySlice;
import ohos.aafwk.content.Intent;
import ohos.agp.components.TextField;

public class SearchAbilitySlice extends AbilitySlice {
    private TextField mEditText;
    @Override
    public void onStart(Intent intent) {
        super.onStart(intent);
        super.setUIContent(ResourceTable.Layout_ability_search);
        mEditText= (TextField) findComponentById(ResourceTable.Id_edit_text);

    }

    @Override
    public void onActive() {
        super.onActive();
    }

    @Override
    public void onForeground(Intent intent) {
        super.onForeground(intent);
    }
}
